package com.studio.biz.impl;

import java.util.List;

import org.apache.log4j.Logger;

import com.studio.base.utils.Pager;
import com.studio.biz.TablesBiz;
import com.studio.dao.TablesDao;
import com.studio.entity.Tables;

public class TablesBizImpl implements TablesBiz {
	private static final Logger logger = Logger
			.getLogger(TablesBizImpl.class);
	
	private TablesDao td;
	
	public void setTd(TablesDao td) {
		this.td = td;
	}

	@Override
	public Pager find(Pager pager) {
		return td.find(pager);
	}

	@Override
	public Pager findAllTables(Pager pager) {
		return td.findAllTables(pager);
	}

	@Override
	public List<?> findCanExportTables() {
		return td.findCanExportTables();
	}

	@Override
	public void edit(Tables table) {
		td.edit(table);
	}

	@Override
	public void del(Tables table) {
		td.del(table);
	}

	@Override
	public boolean add(Tables table) {
		return td.add(table);
	}

	@Override
	public void delByIds(Integer[] ids) {
		td.delByIds(ids);
	}
	
}
